package com.mdc.mansion.core.modules.restaurant;

import com.mdc.mansion.core.modules.restaurant.dto.RestaurantTableDTO;
import com.mdc.mansion.dataaccess.common.service.BaseService;
import com.mdc.mansion.dataaccess.modules.restaurant.entity.Restaurant;
import com.mdc.mansion.dataaccess.modules.restaurant.entity.RestaurantTable;
import com.mdc.mansion.dataaccess.modules.restaurant.entity.mo.RestaurantTableMO;

import java.util.List;

/**
 * 餐厅餐桌信息Service
 * @author mingdongc
 * @version 2018-01-01
 */
public interface RestaurantTableService extends  BaseService<RestaurantTable> {
    List<RestaurantTableMO> selectRestaurantTableWithStatus(String restaurantId, String restaurantTableId);

    void saveOrUpdate(RestaurantTableDTO restaurantTableDTO);

	List<RestaurantTable> getFreeRestaurantTable(Restaurant restaurant) throws Exception;

}

